<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <title>Vite + Vue</title>
    <script>
      // (function(win) {
      //   var doc = win.document;
      //   var docEl = doc.documentElement;
      //   var tid;
      //   function refreshRem() {
      //     var width = docEl.getBoundingClientRect().width;
      //     var rem = width / 10;
      //     docEl.style.fontSize = rem + 'px';
      //   }
      //   win.addEventListener('resize', function() {
      //     clearTimeout(tid);
      //     tid = setTimeout(refreshRem, 300);
      //   }, false);
      //   win.addEventListener('pageshow', function(e) {
      //     if (e.persisted) {
      //       clearTimeout(tid);
      //       tid = setTimeout(refreshRem, 300);
      //     }
      //   }, false);
      //   refreshRem();
      // })(window);
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
